<?php


namespace App\factory;


use App\Http\Service\api\AliPay;

class Ali implements PayFactory
{
    /**
     * @param $data
     * @return \Symfony\Component\HttpFoundation\Response
     * 支付宝支付
     */
      public static function payType($data)
      {
          // TODO: Implement payType() method.
          $res = new AliPay();
          return  $res->payIndex($data)->send();
      }


}
